<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var b = ''
        for (a =1; a<=9 ;a++) {
            for (c=1; c<= a; c++){
                b = b +c+'x'+a+'='+a*c+'\t'
            }
            b=b+ '\n'
        }
        console.log(b);
    </script>
</body>
</html>